<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>登录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/system/layui/css/layui.css" media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<img src="/system/images/bg.jpg" alt="背景" width="100%" height="100%" style="position: absolute;"/>
<div style="position: absolute;left: 70%;top:30%">
    <form class="layui-form" method="post" action="/user/login">
        <div style="background-color:lightsteelblue;width: 330px;height:230px;margin-left: -10px; margin-top: -10px;border: #9F9F9F solid 3px;">
            <h1 style="position: absolute;color: #2F4056; font-family: 幼圆;left: 1%;">后台管理系统  欢迎登录</h1><br><br><br><br>
            <div class="layui-form-item">
                <label class="layui-form-label" style="background-color: #009688;color: #F8F8F8;width: 60px;">用户名</label>
                <div class="layui-input-block" style="width: 200px;">
                    <input type="text" name="login_name" id="yan1" lay-verify="title" autocomplete="off" placeholder="请输入用户名" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label" style="background-color: #009688;color: #F8F8F8;width: 60px;">密码</label>
                <div class="layui-input-block" style="width: 200px;">
                    <input type="password" name="password" id="yan2" lay-verify="pass" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
            </div>
            <br>
            <div class="layui-input-block">
                <a class="layui-btn layui-btn-sm" onclick="sub()" style="width: 310px;margin-left: -110px;">登录</a>
            </div>
        </div>
    </form>
</div>
</body>
<script type="text/javascript" src="/system/layui/layui.js"></script>
<script type="text/javascript" src="/system/js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="/user/login.js"></script>
</html>